package com.hnu.model;



/**
 * Bookmarkpreference entity. @author MyEclipse Persistence Tools
 */

public class Bookmarkpreference  implements java.io.Serializable {


    // Fields    

     private Long preferenceId;
     private Bookmark bookmark;
     private User user;
     private Integer preference;


    // Constructors

    /** default constructor */
    public Bookmarkpreference() {
    }

    
    /** full constructor */
    public Bookmarkpreference(Bookmark bookmark, User user, Integer preference) {
        this.bookmark = bookmark;
        this.user = user;
        this.preference = preference;
    }

   
    // Property accessors

    public Long getPreferenceId() {
        return this.preferenceId;
    }
    
    public void setPreferenceId(Long preferenceId) {
        this.preferenceId = preferenceId;
    }

    public Bookmark getBookmark() {
        return this.bookmark;
    }
    
    public void setBookmark(Bookmark bookmark) {
        this.bookmark = bookmark;
    }

    public User getUser() {
        return this.user;
    }
    
    public void setUser(User user) {
        this.user = user;
    }

    public Integer getPreference() {
        return this.preference;
    }
    
    public void setPreference(Integer preference) {
        this.preference = preference;
    }
   








}